package com.fivetiger.dao;

import com.fivetiger.dto.PetsFlag;
import com.fivetiger.entity.PetsMaintenance;

import java.util.List;

public interface PetsMaintenanceDao {

    //新增订单
    int insert(PetsMaintenance petsMaintenance);

    List<PetsMaintenance> selectAll();

    int update(PetsMaintenance petsMaintenance);

    int updateByName(PetsFlag petsFlag);

    int delete(PetsMaintenance petsMaintenance);

    List<PetsMaintenance> selectByName();
}
